package com.bauer.base.datastructure.tree.bminus;

/**
 * @Author ：rui.wei
 * @Date ：Created in 14:49 2019/7/31
 * @Description：
 */
public class BminusNode {

    private int data;

    private BminusTreeNode left;

    private BminusTreeNode right;

    public BminusNode(int data) {
        this.data = data;
    }

    public BminusNode(int data, BminusTreeNode left, BminusTreeNode right) {
        this.data = data;
        this.left = left;
        this.right = right;
    }

    public int getData() {
        return data;
    }

    public void setData(int data) {
        this.data = data;
    }

    public BminusTreeNode getLeft() {
        return left;
    }

    public void setLeft(BminusTreeNode left) {
        this.left = left;
    }

    public BminusTreeNode getRight() {
        return right;
    }

    public void setRight(BminusTreeNode right) {
        this.right = right;
    }
}
